package com.lx.design.demo.ddd3.oop.weapon;

/**
 * 魔法棒
 * @author lx
 * @date 2021/4/21 16:26
 */
public class Staff extends Weapon {
    private Staff(){

    }
    public Staff(String name,int damage){
        super.setDamage(damage);
        super.setName(name);
        super.setDamageType(DamageTypeEnum.FIRE.getCode());
    }
}
